package com.itheima;

public class Test2 {
    public static void main(String[] args) {  //Lambda无参有返回值方法
        method(()-> 10);
    }

    public static void method(Lambda2 l){
       int a= l.show();
        System.out.println(a);
    }
}
